package Exception.Throwable;

/**
 * @author: wh(1835734390 @ qq.com)
 * @date: 2023/9/18 11:02
 * @description:
 * @version:
 */
public class CustomUncaughtExceptionHandler implements Thread.UncaughtExceptionHandler{
    @Override
    public void uncaughtException(Thread t, Throwable e) {
        System.out.println("发生了未捕获的异常：" + e.getMessage());
    }
}
